package ext;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class DivideCaculate extends Caculate {
    public DivideCaculate(){
        super.name = "/";
    }
    @Override
    public BigDecimal operate(BigDecimal b1, BigDecimal b2) {
        return b1.divide(b2,2, RoundingMode.HALF_DOWN);
    }
}
